<?php

namespace App\Models;

/**
 * @mixin IdeHelperProductCategory
 */
class ProductCategory extends BaseModel
{
    public function children()
    {
        return $this->hasMany(ProductCategory::class, 'parent_id', 'id')->orderBy('sequence');
    }
}
